package com.sora.provider;
/**
 *  @Classname: SerivceProvider
 *  @Description:
 *  @Author: Stonffe
 *  @Date: 2023/5/16 15:32
 */
public interface ServiceProvider {
    /**
     * 添加一个serviceProvider
     * @param service
     * @param <T>
     */
    <T> void addServiceProvider(T service, String serviceName);

    /**
     * 获取serviceProvider
     * @param serviceName
     * @return
     */
    Object getServiceProvider(String serviceName);
}
